import request from '@/utils/request'

/** 登出 */
export const loginOutApi = (data) => {
  return request({
    url: '/ipuser/logout ',
    method: 'POST',
    data
  })
}

/** 一级菜单 */
export const menuOneApi = (data) => {
  return request({
    url: '/menu/listFirstLevelMenuForUser',
    method: 'POST',
    data
  })
}
/** 一级其他菜单 */
export const menuOtherApi = (data) => {
  return request({
    url: '/menu/listOthersMenuForUser',
    method: 'POST',
    data
  })
}